class Polygon {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }
}

var p = new Polygon(1, 2);
console.info(p.height, p.width);
